﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


public enum MessageState
{ 
    Unread = 0,
    read   =1
}
    public enum enumSysRight
    {
        CompanyIntro            = 1,
        Placard                 = 2,
        CompanyLink             = 3,
        ProductTypeManager      = 4,
        //ProductAdd              = 5,
        ProductManager          = 6,
        IndexSet                = 7,
        CustomManager           = 8,
        SalesOrderManager       = 9,
        SalesReport             = 10,
        Evaluation              = 11,
        Consult                 = 12,
        SysUser                 = 13,
        SysRose                 = 14,
        SysLog                  = 15,
        SizeManager             = 16,
        BrandManager            = 17,
        ColorManager            = 18,
        RefundManager           = 19
    }
    /// <summary>
    /// Common 的摘要说明
    /// </summary>
    public static class UCommon
    {
         

        public static string GetRootPath()
        {
            return System.Web.HttpContext.Current.Server.MapPath(@"~\");
        }
        public static string PathMap(string strPath)
        {
            return System.Web.HttpContext.Current.Server.MapPath(strPath);
        }

    }


 

